#!/bin/bash
echo "启动生产版轴承监控系统..."
cd /home/pi/data_box_3_v0
source production_env/bin/activate
mkdir -p recordings test_photos logs test_data
export PYTHONPATH="$PYTHONPATH:$(pwd)"
export FLASK_ENV=production
echo "系统启动 - 访问: http://192.168.1.5:5006"
python web_bearing_monitor_production.py
